package com.wenhao.newcode.huawei;

import java.util.Scanner;

/**
 * @author Wenhao Tong
 * @date 2021/7/15 下午10:19
 */
public class MainHJ4 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNext()) {
            String next = scanner.next();
            while (next.length() >= 8) {
                System.out.println(next.substring(0,8));
                next = next.substring(8);
            }
            if (next.length() > 0) {
                while (next.length() < 8 && next.length() != 0) {
                    next += 0;
                }
                System.out.println(next);
            }
        }
    }
}
